-- GENERATED SPELL FOR [Icestorm] --


function spell0_26287(pUnit, Event) --@Frost Breath,n/a--
pUnit:FullCastSpellOnTarget(47425,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26287', 10500, 1)
end

function Sorts_26287(pUnit, Event)
local choix_sorts_26287 = math.random(0, 0)
if choix_sorts_26287 == 0 then
pUnit:RegisterEvent('spell0_26287', 1, 1)
end
end

function mob26287_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26287', math.random(1500, 3000), 1)
end

function mob26287_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26287_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26287_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26287, 1, 'mob26287_Action')
RegisterUnitEvent(26287, 2, 'mob26287_Leave')
RegisterUnitEvent(26287, 3, 'mob26287_Kill')
RegisterUnitEvent(26287, 4, 'mob26287_Die')
